package com.hippo.core.dao;

import com.alibaba.fastjson.JSONObject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: hippo
 */
@Mapper
public interface CaseDao {

    int countCase(JSONObject obj);

    List<JSONObject> getCaseList(JSONObject obj);

    List<JSONObject> getVariableList(JSONObject obj);

    List<JSONObject> getExpressionList(JSONObject obj);

    int addCase(JSONObject obj);

    int deleteCase(String id);

    int updateCase(JSONObject obj);

    int updateSteps(JSONObject obj);

    List<JSONObject> getOperationList();

    JSONObject getCaseInfoById(String id);

    List<JSONObject> getReferenceIds(JSONObject obj);

}
